﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace JXT.PrimaryKey.Batman.Core.Configuration
{
    /// <summary>
    /// OAuth配置节点
    /// </summary>
    public class OauthConfigurationElement : ConfigurationElement
    {
        public OauthConfigurationElement() { }

        /// <summary>
        /// OAuth配置名称
        /// </summary>
        [ConfigurationProperty("name",IsRequired=true,IsKey=true)]
        public string Name
        {
            get { return (string)this["name"]; }
            set { this["name"] = value; }
        }

        /// <summary>
        /// 路径
        /// </summary>
        [ConfigurationProperty("path",IsRequired=true,IsKey=true)]
        public string Path
        {
            get { return (string)this["path"]; }
            set { this["name"] = value; }
        }
    }
}
